| Magic Crystal II combines a clickable imagemap with zoom lense effect Move your mouse across this image to see the applet in action. This applet is drop-in replacement for my previous MagicCrystal applet. It is completely redesigned to optimize the drawing. It works much faster and is more stable. AND CAN BE USED ABSOLUTLY FREE with the KEY "FreeVersion" |
The applet can be used with any gif87 non-interlaced image. This image can be zoomed out to1:2 by the applet for better quality of lens effect. The zoomed image will be centered in the applet area. For better appearance, leave some empty area around the zoomed image. Best results can be obtained when the area width is equal to the radius of the lens. For example, if the original image has the size 400x300 and the SPOTR parameter value is 20, then for best results choose applet sizes:
WIDTH=imagewidth/2+SPOTR*2=400/2+20*2=240 HEIGHT=imageheight/2+SPOTR*2=300+20*2=190 (It's the matter of taste of course.)
Parameter Name |
Value |
| AUTHOR | "Virtual_Max (http://come.to/vmax)" Obligatory parameter |
| IMAGE | Image URL, full or relative (obligatory ) Note: original image will be zoomed out 1:2 |
| SPOTR | Radius of magic spot (default value='"20") |
| BGCOLOR | Applet background color, may be useful for transparent images. Default value=000000. For example, if you want a blue background, then you should write VALUE="0000FF" (optional) |
| OUTLINECOLOR | Lens outline color (optional). Omit this parameter if you do not need the outline. |
| TEXTCOLOR | Main text color (optional), default value="00FF00" |
| TEXTHIGHLIGHT | Text highlight color (optional), default value="FF0000" |
| LINK0 ....LINKn | Text highlight color (optional), default value="FF0000" Map
area description is placed in the following order of parameters separated by semicolons: "URL; left; top; right; bottom; StatusBarText; Description; targetwindowname" URL - full or relative document URL
Note: link area coordinates should be given with the original image coordinates (not zoomed) |
| KEY | Obligatory parameter. For FREE use on any server use this value: VALUE="FreeVersion" With above KEY value Applet has a slightly limited functionality and adds a link back to my pages. Registered applet wouldn't add a link to my site. |
<APPLET CODEBASE="./"
CODE=magiccrystalii.class
WIDTH=180
HEIGHT=280
>
<PARAM NAME="AUTHOR" VALUE="Virtual_Max (http://come.to/vmax )">
<PARAM NAME="IMAGE" VALUE=vmawardmenu.gif>
<PARAM NAME="BGCOLOR" VALUE="000000">
<PARAM NAME="SPOTR" VALUE="40">
<PARAM NAME="KEY" VALUE="Free Version">
<PARAM NAME="OUTLINECOLOR" VALUE="FFE77B">
<PARAM NAME="TEXTCOLOR" VALUE="F7A55A">
<PARAM NAME="TEXTHIGHLIGHT" VALUE="FFE77B">
<PARAM NAME="LINK0" VALUE="index.html; 20; 240; 220; 270;Back to Cafe; Back to Cafe;_self">
<PARAM NAME="LINK1" VALUE="javacollection.html; 20; 270; 220; 300;Free Applets from Virtual_Max's Collection;Other Applets;_self">
<PARAM NAME="LINK2" VALUE="scriptscollection.html; 20;300;220;330;Free Scripts from Virtual Max's Collection;JavaScripts;_self">
<PARAM NAME="LINK3" VALUE="gotapplet.html;20;330;220;360;Java common problems FAQs page;Have a question?;_self">
<PARAM NAME="LINK4" VALUE="license.html;20;360;220;39050;Download this Applet Now!; Good Choice!; _self">
<!--For non-Java browsers -->
Sorry you need to have Java Enabled browser to view this applet.
</APPLET>